package com.welike.shibo.eneity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * Created by fangyu on 2019/11/21.
 */
@Data
@TableName(value = "sys_role_permission")
public class SysRolePermission {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色id
     */
    @TableField(value = "rid")
    private Integer rid;

    /**
     * 权限id
     */
    @TableField(value = "pid")
    private Integer pid;
}